package hbase.client;

import com.google.common.hash.BloomFilter;
import com.google.common.hash.Funnels;

import java.io.IOException;

public class Main {

    public static void main(String[] args) throws IOException {
        String tableName = "friend";
        HBaseClient client = HBaseClient.create();
        String[] families = new String[1];
        families[0] = "friends";
        client.createTable("tableName", families);

        client.putData(tableName, "001", "friends", "002", "002");
        client.putData(tableName, "001", "friends", "003", "003");
        client.putData(tableName, "001", "friends", "004", "004");
        client.putData(tableName, "002", "friends", "001", "001");
        client.putData(tableName, "003", "friends", "001", "001");
        client.putData(tableName, "004", "friends", "001", "001");

        //删除好友


    }
}
